package com.xujl.hsns.test;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

public class TI implements TEST {

	List l= new ArrayList();
	
	public int add(int a) {
		
		return a+a;
	}

	public User get(int a) {
		User user = new User(a ,a%2==0 ?"A":"B");
		
		return user;
	}
	public User get1(int a) {
		return null;
	}

	public List add(User u) {
		l.add(u);
		return l;
	}

	public void clear() {
		l.clear();
		
	}
	public void replance(List l) {
		System.out.print("-------------------");
		this.l=l;
		System.out.println("replance------------------------------------");
	}

	public void remove(User u) {
		l.remove(u);
		
	}
	public static void main(String[] args) {
		String s="C:\\Users\\jinliang.xu.PERAPORTAL\\Desktop\\Server\\lib";
		File f =new File(s);
		String[] list = f.list();
		for (int i = 0; i < list.length; i++) {
			System.out.print("  ./lib/"+list[i]);
		}
	}
	
}
